package cn.xpg.service;

import java.util.List;

import cn.xpg.entity.Order;

public interface OrderService {
	// 新增订单
	public int addOrder(Order order);

	// 删除订单
	public int deleteOrder(int order_id);

	// 查询订单
	public List<Order> getOrderList(String order_id, String order_createtime, String order_updatetime,
			int currentPageNo, int pageSize);

	// 查询订单行数
	public int getOrderCount(String order_id, String order_createtime, String order_updatetime);

	// 获取订单Id
	public Order getOrderId(int order_id);

	// 修改订单
	public int updateOrder(Order order);
}
